editablelabel: Document css nodes
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jul 2020 13:55:46 +0000 (09:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jul 2020 13:55:46 +0000 (09:55 -0400)
Just the usual.

gtk/gtkeditablelabel.c

index 4ca22ff129e2928cdd52ee721d5adf1afb3cad92..f1d18c79177302ec770dbe72aad600276bb53614 100644 (file)
  * to click or press the Enter key. The default bindings
  * for leaving the edit mode are the Enter key (to save
  * the results) or the Escape key (to cancel the editing).
+ *
+ * # CSS nodes
+ *
+ * |[<!-- language="plain" -->
+ * editablelabel[.editing]
+ * ╰── stack
+ *     ├── label
+ *     ╰── text
+ * ]|
+ *
+ * GtkEditableLabel has a main node with the name editablelabel.
+ * When the entry is in editing mode, it gets the .editing style
+ * class.
+ *
+ * For all the subnodes added to the text node in various situations,
+ * see #GtkText.
  */
 
 struct _GtkEditableLabel